/* 头部导航栏 */
.header-container {
    height: 50px;
}
.header-container-fixed {
    background: #323436;
    color: #ccc;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 50px;
    line-height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0 10px;
    -webkit-transition: .2s linear;
    transition: .2s linear;
}
.header-container-fixed.shrink {
    left: 250px;
}
@media screen and (max-width: 765px) {
    .aside-container.show {
        left: 0;
    }
}
.header-title {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin: 0;
    text-align: center;
    font-size: 1em;
}
.header-logo {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
}
.header-logo img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-top: 10px;
}
.header-switch {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    cursor: pointer;
}
.header-switch .iconfont {
    font-size: 1.5em;
}
.icon-liebiao:before {
    content: "\e643";
}
@media screen and (min-width: 765px) {
    .header-container {
        display: none;
    }
}
/* main区域样式 */
.main-container {
    padding: 0 40px;
    padding-left: 290px;
    line-height: 1.7;
}
@media screen and (max-width: 765px) {
    .main-container {
        padding: 0 10px;
    }
}
#markdowmBox h1 {
    text-align: center;
}#markdowmBox .articl-aside {
    margin-bottom: 2em;
}
/* 蒙层样式 */
.modal-pad-switch {
    position: fixed;
    left: 0;
    left: 250px;
    top: 0;
    width: 100%;
    height: 100%;
}
/* 侧边导航栏样式 */
.aside-container {
    position: fixed;
    overflow-y: auto;
    width: 250px;
    height: 100%;
    background: #202020;
    color: #ccc;
    left: 0;
    top: 0;
    z-index: 1;
    -webkit-transition: .2s linear;
    transition: .2s linear;
}
@media screen and (max-width: 765px) {
    .aside-container {
        left: -250px;
    }
}
.aside-profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit:cover;
}
.aside-profile {
    padding: 40px 0 10px;
    text-align: center;
    position: relative;
}
.aside-profile span {
    display: block;
    padding: 10px 0;
}
.aside-profile span.aside-profile-title {
    font-size: 18px;
}
.aside-profile span.aside-profile-description {
    color: #666;
    font-size: 14px;
}
.aside-buttons {
    margin: 0;
    padding: 0;
    list-style: none;
}
.aside-buttons li {
    height: 45px;
    line-height: 45px;
    transition: 0.5s;
    overflow: hidden;
}
.aside-buttons li a.router-link-item {
    display: block;
    width: 100%;
    height: 30px;
    line-height: 30px;
    padding-left: 30px;
    overflow: hidden;
}
.aside-buttons li a.router-link-item span {
    display: inline-block;
    white-space: nowrap; /* 禁止自动换行 */
    overflow: hidden; /* 隐藏溢出的内容 */
    text-overflow: ellipsis; /* 使用省略号表示溢出的文本 */
    max-width: calc(200px - 1em); /* 设置最大宽度，为省略号留出空间 */
}
.aside-buttons li .router-link-active:hover .icon-youjiantou,
.aside-buttons li .router-link-active:hover span,
.aside-buttons li .router-link-item:hover {
    color: #fff;
    cursor: pointer;
}
.aside-buttons li .router-link-active {
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    color: #999;
    -webkit-transition: color .2s cubic-bezier(.4,.01,.165,.99);
    transition: color .2s cubic-bezier(.4,.01,.165,.99);
    align-items: center;
}
.aside-buttons li a .icon-youjiantou {
    margin-right: 5px;
}
.aside-buttons li .router-link-active span {
    flex: 1 1 auto;
}
.aside-buttons .router-link-active.router-link-exact-active {
    background: #2479cc;
    color: #fff;
}
.aside-profile .icon-tuichudenglu {
    position: absolute;
    top: 5px;
    left: 220px;
    font-size: 20px;
}
.aside-profile .icon-tuichudenglu:hover {
    cursor: pointer;
}
@media screen and (max-width: 765px) {
    b {
        display: none;
    }
}

.main-container #content {
    padding-bottom: 100px;
}

.defaultAdd {
    padding: 5px 20px;
    line-height: 20px;
    border-bottom: 1px solid #999;
}
.defaultAdd::after {
    content: "";
    display: block;
    clear: both;
}
.defaultAdd span {
    font-size: 20px;
}
.defaultAdd .icon-tianjiawenjian {
    float: right;
}
.defaultAdd .icon-tianjiawenjian:hover {
    cursor: pointer;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.3);
}
.aside-buttons .fileDirectory li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    padding-left: 30px;
    line-height: 30px;
}
.aside-buttons .fileDirectory li:hover {
    cursor: pointer;
    background-color: #666;
}
.fileDirectory li span {
    display: inline-block;
    width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fileDirectory li i.icon-shanchu {
    font-size: 30px;
}
.fileDirectory li i.icon-shanchu:hover {
    color: #fff;
}
/* 编辑按纽 */
i.icon-bianji,
.iconBox {
    font-size: 50px;
    color: #666;
    position: fixed;
    bottom: 20px;
    right: 20px;
}
.iconBox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.iconBox .icon-baocun{
    font-size: 40px;
}
.iconBox .icon-tijiao{
    font-size: 30px;
}
i.icon-bianji:hover {
    color: #000;
}
i.icon-tijiao:hover,
i.icon-baocun:hover {
    color:#2479cc;
    cursor: pointer;
}
/* 表单样式 */

.upload-form {
    width: 300px;
    padding: 40px 30px;
    background-color: #fff;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.3);
}
.form-item {
    width: 100%;
    height: 70px;
    line-height: 50px;
    font-size: 20px;
    margin-top: 10px;
}
.upload-form .btn {
    display: flex;
    justify-content: space-around;
}
.form-item button {
    width: 80px;
    height: 45px;
}
.form-item .txt {
    width: 180px;
    height: 30px;
    font-size: 20px;
    border: none;
    border-bottom: 1px solid #000;
    outline:0;
} 
.form-item .txt:focus {
    border-bottom-color: #2479cc;
}
.form-item p {
    margin-top: 5px;
    text-align: center;
    font-size: 15px;
    line-height: 15px;
    color: rgb(209, 92, 92);
}
/* 提示框 */
#tips {
    width: 250px;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    position: fixed;
    left: 50%;
    top: 20px;
    transform:translateX(-50%);
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.3);
    display: none;
    background-color: #fff;
    z-index: 999999999999;
}
#tips span {
    display: inline-block;
    width: 100%;
    text-align: center;
}